using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;

namespace emp.DALFactory.SysManage
{
    public class Organization
    {
        public static emp.IDAL.SysManage.IOrganization Create()
        {
            string path = System.Configuration.ConfigurationSettings.AppSettings["WebDAL"];
            string className = path + ".SysManage.Organization";

            return (IDAL.SysManage.IOrganization)Assembly.Load(path).CreateInstance(className);
        }
    }
}
